package com.ykq.service.impl;

import com.ykq.dao.BranchDao;
import com.ykq.entity.Branch;
import com.ykq.service.BranchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: keyboard
 * @description:
 * @author: 闫克起2
 * @create: 2023-07-22 14:59
 **/
@Service
public class BranchServiceImpl implements BranchService {
    @Autowired
    private BranchDao branchDao;
    public List<Branch> findById(Integer id) {
        return branchDao.selectByBranchId(id);
    }
}
